export const formItems = async (key: string) => {
  const obj: any = {
    tgsh: [
      {
        disabled: false,
        label: '案件名称',
        prop: 'ajmc',
        type: 'input',
        placeholder: '请输入案件名称',
        iswm: 'Y',
        options: [],
      },
      {
        disabled: false,
        label: '部门受案号',
        prop: 'bmsah',
        type: 'input',
        placeholder: '请输入部门受案号',
        iswm: 'Y',
      },
      {
        disabled: false,
        label: '统一受案号',
        prop: 'tysah',
        type: 'input',
        placeholder: '请输入统一受案号',
        iswm: 'Y',
      },
      {
        disabled: false,
        label: '申请人',
        prop: 'tgsqr',
        type: 'input',
        placeholder: '请输入申请人',
        iswm: 'Y',
      },
      {
        disabled: false,
        label: '申请日期',
        prop: 'tgsq-rq',
        type: 'daterange',
        placeholderStart: '开始时间',
        placeholderEnd: '结束时间',
        iswm: 'Y',
      },
    ],
  }
  return obj[key]
}
